package coin;

import java.util.HashMap;
import java.util.Scanner;

public class Coin {
    private HashMap<Integer, String> coinnames = new HashMap<>();

    public Coin() {
        coinnames.put(1, "penny");
        coinnames.put(5, "nickel");
        coinnames.put(10, "dime");
        coinnames.put(50, "half-dollar");
        System.out.println(coinnames.keySet().size());
        for (Integer i : coinnames.keySet()) {
            System.out.println(coinnames.get(i));
        }
//        coinnames.forEach( (k, v)-> System.out.println(k + "=" + v));
    }
    public String getName(int amount) {
        if (coinnames.get(amount) == null) {
            return "Not Found\n";
        }
        else
            return coinnames.get(amount);
    }
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int amount = in.nextInt();
        Coin coin = new Coin();
        System.out.println("amount = " + coin.getName(amount));
    }
}
